﻿SELECT *
FROM (
/*--ChildrenSelect--*/
) chld
WHERE N >= @Offset /*--LimitFilter--*/
ORDER BY N